package com.ruigi.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruigi.pojo.Employee;
import com.ruigi.pojo.R;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;


public interface EmployeeService extends IService<Employee> {
    R<String> save1(HttpServletRequest request, Employee employee);
    R<Page>  page1(int page,int pageSize,String name);


    R<String> update(HttpServletRequest request, Employee employee);

    R<Employee> getid(Long id);
}
